package cn.wowjoy.pda.android_pharmacy.model.xmlEntity.inHospitalPatientInfo;

/**
 * Created by Administrator on 2017/8/31.
 */

public class InHospitalPillNode {
    public static String getTotalContent(String TransId){
        String content = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
                "<root>\n" +
                "   <head>\n" +
                "<TransId>"+TransId+"</TransId>\n" +
                "<SourceType>12</SourceType>\n" +
                "<SourceIp>192.168.100.100</SourceIp>\n" +
                " <SourceMac> 74-F0-6D-73-AC-6F </SourceMac>\n" +
                " <SourceName>QMS-PC</SourceName>\n" +
                "      </head>\n" +
                "      <body>\n" +
                "  </body>\n" +
                "</root>";
        return content;
    }

    public static String getSingleContent(String TransId,String DJJLID){
        String content = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
                "<root>\n" +
                "   <head>\n" +
                "<TransId>"+TransId+"</TransId>\n" +
                "<SourceType>12</SourceType>\n" +
                "<SourceIp>192.168.100.100</SourceIp>\n" +
                " <SourceMac> 74-F0-6D-73-AC-6F </SourceMac>\n" +
                " <SourceName>QMS-PC</SourceName>\n" +
                "      </head>\n" +
                "      <body>\n" +
                "<DJJLID>"+DJJLID+"</DJJLID>\n" +
                "  </body>\n" +
                "</root>";
        return content;
    }
}
